package org.kl.auditsupervision.entity.fnd;

import java.sql.Date;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.kl.bf.entity.AttachmentEntity;
import org.kl.bf.entity.Excel;

 
 
/**
 * 
 * 项目计划表
 * @author LJ
 *
 */
@Entity
@Table(name = "sjjc_pro_schedule")
public  class ProSchedule extends AttachmentEntity{
	private static final long serialVersionUID = 1L;
	@Excel(exportName = "项目计划名称")
	private String proSchedule;//项目名称
	@Excel(exportName = "审计",exportProperty="auditPro.auditName")
	private AuditProDtl auditProDtl;
	@Excel(exportName = "责任人",exportProperty="trueName")
	private Employee employee;
	@Excel(exportName = "开始时间")
	private Date startTime;
	@Excel(exportName = "结束时间")
	private Date endTime;
	@Excel(exportName = "目标")
	private String target;
	@Excel(exportName = "版本号")
	private String version;
    
	
	public ProSchedule() {
	}
	
	public ProSchedule(String id) {
		this.id = id;
	}

	public String getProSchedule() {
		return proSchedule;
	}

	public void setProSchedule(String proSchedule) {
		this.proSchedule = proSchedule;
	}
	@ManyToOne
	@JoinColumn(name = "employee_id")
	public Employee getEmployee() {
		return employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	
	 
	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}
	@ManyToOne
	@JoinColumn(name = "AUDIT_PRO_DTL_ID")
	public AuditProDtl getAuditProDtl() {
		return auditProDtl;
	}

	public void setAuditProDtl(AuditProDtl auditProDtl) {
		this.auditProDtl = auditProDtl;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	@Override
	public String businessCode() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String levelType1() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String levelType2() {
		// TODO Auto-generated method stub
		return null;
	}

 
 
	 
}
